package net.onceface.core.domain.enums;

/**
 * 编号类型
 * **/
public enum NumberType {

	A("订单编号");
	
	private String label;
	
	private NumberType(String label) {
		this.label = label;
	}

	public String getLabel() {
		return label;
	}
	
	public static Gender getByLabel(String label) {
		for (Gender each : Gender.values()) {
			if (each.getLabel().equals(label)) {
				return each;
			}
		}
		return null;
	}
}
